package com.yznote.cloudesk.compileservice;


import com.aliyun.oss.OSS;
import com.aliyun.oss.model.OSSObject;
import com.yznote.cloudesk.common.codeResult.YResult;
import com.yznote.cloudesk.common.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.InputStream;
import java.util.Arrays;

@FeignClient(url = "http://localhost:1002/compile",name = "compileService")
public interface CompileService {
    @RequestMapping("/run")
    Result<YResult> run(@RequestParam("fileName") String fileName, @RequestParam("filePath") String filePath);
}
